public interface Evaluator
| Modifier and Type | Method and Description |
|---|---|
Evaluator |
clone() |
java.lang.Double |
getEvaluation(UtilitySpace uspace,
Bid bid,
int index)
This method returns the utility of the value of an issue.
|
EVALUATORTYPE |
getType() |
double |
getWeight() |
java.lang.String |
isComplete(Objective whichObjective)
Check whether the evaluator has enough information to make an evaluation.
|
void |
loadFromXML(SimpleElement pRoot)
Method to
|
void |
lockWeight()
Wouter: lockWeight does not actually lock setWeight or so.
|
void |
setWeight(double wt)
Sets the weigth with which an Objective or Issue is evaluated.
|
void |
unlockWeight()
Method to unlock a weight.
|
boolean |
weightLocked() |
double getWeight()
void setWeight(double wt)
wt - The new weight.void lockWeight()
void unlockWeight()
boolean weightLocked()
java.lang.Double getEvaluation(UtilitySpace uspace, Bid bid, int index) throws java.lang.Exception
uspace - preference profilebid - in which the value is contained.index - of the issue in the bid.java.lang.Exception - if problem, for instance illegal evaluation values.EVALUATORTYPE getType()
void loadFromXML(SimpleElement pRoot)
pRoot - java.lang.String isComplete(Objective whichObjective)
whichObjective - is the objective/issue to which this evaluator is attached.Evaluator clone()